//
//  CWViewController.h
//  CWDevelop
//
//  Created by LittoCats on 7/9/14.
//  Copyright (c) 2014 Littocats. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CWViewController : UIViewController

- (id)initWithIdentifier:(NSString *)identifier params:(NSDictionary *)params;

@property (nonatomic, readonly) NSMutableDictionary *params;

+ (instancetype)controllerWithId:(NSString *)pageId;
@end

@interface UINavigationController (CW)

+ (instancetype)defaultNavigationController;

+ (void)pushViewController:(UIViewController *)vc asRoot:(BOOL)asRoot;
@end